//
//  TestUI.m
//  MacDevTest
//
//  Created by lbxia on 2022/9/8.
//  Copyright © 2022 com.lbx. All rights reserved.
//

#import "TestUI.h"
#import "NSCustomAlertView.h"
#import "TagManageView.h"

@interface TestUI ()

@end

@implementation TestUI

- (void)windowDidLoad {
    [super windowDidLoad];
    
    // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
}
//- (IBAction)test1:(id)sender {
//}
//- (IBAction)test2:(id)sender {
//}
//- (IBAction)test3:(id)sender {
//}
//- (IBAction)test4:(id)sender {
//}


- (void)testTagView {
    
    [TagManageView showWithSureAction:^{
        
    }];
}
- (IBAction)test1:(id)sender {
    
    [NSCustomAlertView showWithTitle:@"内容已被修改，是否需要保存?" content:@"邮件将会被保存到草稿箱" type:2 cancel:^{

    } sure:^{

    }];
}
- (IBAction)test2:(id)sender {
    
    [NSCustomAlertView showWithTitle:@"您的邮件主题为空!" content:@"确认要继续发送这封邮件吗?确认要继续发送这封邮件吗?确认要继续发送这封邮件吗?确认要继续发送这封邮件吗?" type:2 cancel:^{

        NSLog(@"cancel");
    } sure:^{
        NSLog(@"sure");

    }];
}
- (IBAction)test3:(id)sender {
    
    [NSCustomAlertView showWithTitle:@"发件人希望得到您签收邮件的回执，是否发送?" content:@"" type:1 cancel:^{

    } sure:^{

    }];
}
- (IBAction)test4:(id)sender {
    
    [self testTagView];
}

- (IBAction)test5:(id)sender {
}

@end
